package com.hnkywl.sts.entity.htgl;

import com.hnkywl.sts.entity.BaseEntity;
import org.hibernate.annotations.Where;

import javax.persistence.*;
import java.util.Date;

/**
 * 说明：合同扩展(保供合同)
 * 包:        com.hnkywl.sts.entity.organ
 * 类描述:    供应商
 * 修改备注: [说明本次修改内容]
 * 版本:        [v1.0]
 */
@Entity
@Table(name = "T_BIZ_HTKZ")
public class Htkz {
    @Id
    @SequenceGenerator(name = "seqHtkz", allocationSize = 1, sequenceName = "SEQ_BIZ_HTKZ")
    @GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "seqHtkz")
    private Long id;

    /**
     * 合同id
     */
    @OneToOne(fetch = FetchType.LAZY)
    @JoinColumn(name = "ht_id")
    private Ht ht;


    /**
     * 审核人
     */
    private String spr;

    /**
     * 审核日期
     */
    private Date sprq;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Ht getHt() {
        return ht;
    }

    public void setHt(Ht ht) {
        this.ht = ht;
    }


    public String getSpr() {
        return spr;
    }

    public void setSpr(String spr) {
        this.spr = spr;
    }

    public Date getSprq() {
        return sprq;
    }

    public void setSprq(Date sprq) {
        this.sprq = sprq;
    }
}
